package com.etc.dao;

import com.etc.entity.Room;
import com.etc.entity.Type;
import com.etc.entity.Video;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * (Video)表数据库访问层
 */
@Repository
public interface TypeDao {
    
    /**
     * 查询所以类型
     * @return
     */
    List<Type> queryType();
    List<Room> queryRoomListById( String typeId);
    List<Video> queryVideoListById(String typeId);
}
